import request from '@/utils/request'

// 查询结题/验收项目信息集列表
export function listProject(query) {
  return request({
    url: '/teacher/project/list',
    method: 'get',
    params: query
  })
}

// 查询结题/验收项目信息集详细
export function getProject(recordid) {
  return request({
    url: '/teacher/project/' + recordid,
    method: 'get'
  })
}

// 新增结题/验收项目信息集
export function addProject(data) {
  return request({
    url: '/teacher/project',
    method: 'post',
    data: data
  })
}

// 修改结题/验收项目信息集
export function updateProject(data) {
  return request({
    url: '/teacher/project',
    method: 'put',
    data: data
  })
}

// 删除结题/验收项目信息集
export function delProject(recordid) {
  return request({
    url: '/teacher/project/' + recordid,
    method: 'delete'
  })
}

// 导出结题/验收项目信息集
export function exportProject(query) {
  return request({
    url: '/teacher/project/export',
    method: 'get',
    params: query
  })
}